<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
         <p:editor value="#{pagBean.campoAtual}" width="600"></p:editor>
                <h:panelGrid columns="2" style="margin-left:30%">
                <h:commandButton label="Carrega" image="imagens/load.png" value="Carrega" action="#{pagBean.carregaTexto}"></h:commandButton>
                <h:commandButton label="Salva" image="imagens/ok.png" value="Salva" action="#{pagBean.salvaTexto}"></h:commandButton>
         </h:panelGrid>
    </h:body>
</html>

